<?php
/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of user_friend
 *
 * @author n1kolyan
 */
class user_friend extends CActiveRecord {
    public static function model($className=__CLASS__) {
        return parent::model($className);
    }

    public function tableName() {
        return 'user_friend';
    }
    public function relations() {
        return array(
            'User'=>array(self::BELONGS_TO,'User','user_id'),

                );
    }
}
?>
